# Maintainer: Peter Richard Lewis <plewis@aur.archlinux.org>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Roberto Viola <cagnulein@gmail.com>

pkgname=ttytter
pkgver=2.1.00
pkgrel=1
pkgdesc="A multi-functional, command-line twitter client"
arch=('any')
url="http://www.floodgap.com/software/ttytter/"
license=('custom:FFSL')
depends=('perl')
source=(http://www.floodgap.com/software/ffsl/license.txt
        $pkgname-$pkgver.txt::http://www.floodgap.com/software/$pkgname/dist2/$pkgver.txt)
sha256sums=('42c576fcacb5bd6c8f8e64c479b0f8e4445c7e6c9ac013485c51b8f05f2352fd'
            '6292ada5d238009c74345c48a66e59b3c0e4e084a733715953e408bb18191898')

build() {
  return 0
}

package() {
  cd "$srcdir"
  install -Dm755 $pkgname-$pkgver.txt "$pkgdir/usr/bin/$pkgname"
  install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
}
